package com.kqb.mapper;

import com.kqb.common.domain.page.PageResult;
import com.kqb.pojo.ForwarderInquiryList;
import com.kqb.pojo.ForwarderInquiryProduct;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface ForwarderInquiryProductMapper {

    /**
     * 保存货代询价产品
     * @param inquiryProduct
     * @return
     */
    int saveInquiryProduct(ForwarderInquiryProduct inquiryProduct);

    /**
     * 查询货代询价产品
     * @return
     */
    List<Map> queryByMap(Map map);

    /**
     * 通过询价编码查询询价订单
     * @param code
     * @return
     */
    List<ForwarderInquiryProduct> queryByCode(String code);

}
